Optimal. Leaf size=24 \[ -\frac{x^{-4 n} \left (a+b x^n\right )^4}{4 a n} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0216792, antiderivative size = 24, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.059 \[ -\frac{x^{-4 n} \left (a+b x^n\right )^4}{4 a n} \]
Antiderivative was successfully verified.
[In] Int[x^(-1 - 4*n)*(a + b*x^n)^3,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 3.13279, size = 19, normalized size = 0.79 \[ - \frac{x^{- 4 n} \left (a + b x^{n}\right )^{4}}{4 a n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**(-1-4*n)*(a+b*x**n)**3,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0273179, size = 46, normalized size = 1.92 \[ -\frac{x^{-4 n} \left (a^3+4 a^2 b x^n+6 a b^2 x^{2 n}+4 b^3 x^{3 n}\right )}{4 n} \]
Antiderivative was successfully verified.
[In] Integrate[x^(-1 - 4*n)*(a + b*x^n)^3,x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.026, size = 63, normalized size = 2.6 \[{\frac{1}{ \left ({{\rm e}^{n\ln \left ( x \right ) }} \right ) ^{4}} \left ( -{\frac{{a}^{3}}{4\,n}}-{\frac{{b}^{3} \left ({{\rm e}^{n\ln \left ( x \right ) }} \right ) ^{3}}{n}}-{\frac{3\,a{b}^{2} \left ({{\rm e}^{n\ln \left ( x \right ) }} \right ) ^{2}}{2\,n}}-{\frac{{a}^{2}b{{\rm e}^{n\ln \left ( x \right ) }}}{n}} \right ) } \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^(-1-4*n)*(a+b*x^n)^3,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^n + a)^3*x^(-4*n - 1),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.224071, size = 62, normalized size = 2.58 \[ -\frac{4 \, b^{3} x^{3 \, n} + 6 \, a b^{2} x^{2 \, n} + 4 \, a^{2} b x^{n} + a^{3}}{4 \, n x^{4 \, n}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^n + a)^3*x^(-4*n - 1),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 117.792, size = 56, normalized size = 2.33 \[ \begin{cases} - \frac{a^{3} x^{- 4 n}}{4 n} - \frac{a^{2} b x^{- 3 n}}{n} - \frac{3 a b^{2} x^{- 2 n}}{2 n} - \frac{b^{3} x^{- n}}{n} & \text{for}\: n \neq 0 \\\left (a + b\right )^{3} \log{\left (x \right )} & \text{otherwise} \end{cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**(-1-4*n)*(a+b*x**n)**3,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.220548, size = 66, normalized size = 2.75 \[ -\frac{{\left (4 \, b^{3} e^{\left (3 \, n{\rm ln}\left (x\right )\right )} + 6 \, a b^{2} e^{\left (2 \, n{\rm ln}\left (x\right )\right )} + 4 \, a^{2} b e^{\left (n{\rm ln}\left (x\right )\right )} + a^{3}\right )} e^{\left (-4 \, n{\rm ln}\left (x\right )\right )}}{4 \, n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^n + a)^3*x^(-4*n - 1),x, algorithm="giac")
[Out]